home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / Demos / Bombardier_PC / BSCRIPTS.CST / 00104_Script_rollers-sprites < prev    next >
Text File  |  1999-04-25  |  1KB  |  36 lines

  1. -- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
  2. -- Developed for Bombardier, Inc.
  3. --
  4. -- All programming developed by: 
  5. -- Robert Fabricant, Valerie Valoueva, Ossi Shaked, 
  6. -- Henry Sauvageot, Chris Howell & Chris Girand
  7. --
  8. -- Use of this code by parties other than @radical.media, inc. or their
  9. --agents 
  10. -- without the express written consent of @radical.media, inc. AND Concurrent 
  11. -- New Media Group, L.L.C. is strictly prohibited.
  12. ------------------------------------------------------
  13.  
  14. property myNum
  15.  
  16. on new me
  17.   set mySprite = the spriteNum of me
  18.   set myMember = the name of member the member of sprite mySprite
  19.   set myNum = myMember
  20.   delete char 1 of myNum
  21.   delete char 1 of myNum
  22.   delete char 1 of myNum
  23.   return me
  24. end
  25.  
  26. --  These two handlers call the handlers in the "rollers-extQTVR" behavior, attached to sprite 10.  The other script uses the variable "myNum" to construct the appropriate cast member name.
  27.  
  28. on mouseEnter me
  29.   sendSprite(10, #change, myNum)
  30.   puppetsound 3,"qtvrroll"&random(5)
  31. end
  32.  
  33. on mouseLeave me
  34.   sendSprite(10, #reset)
  35. end
  36.